package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.CategoryFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.BaseCategory1;
import com.atguigu.tingshu.model.album.BaseCategory3;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class CategoryDegradeFeignClient implements CategoryFeignClient {

    /**
     * 根据分类id获取分类信息
     * @param category3Id
     * @return
     */
    @Override
    public Result getCategoryView(Long category3Id) {
        return null;
    }

    /**
     * 根据一级分类id获取二级分类信息
     * @param category1Id
     * @return
     */
    @Override
    public Result<List<BaseCategory3>> findTopBaseCategory3(Long category1Id) {
        return null;
    }

    /**
     * 获取一级分类信息
     * @return
     */
    @Override
    public Result<List<BaseCategory1>> findAllCategory1() {
        return null;
    }
}
